﻿using System;
using System.Collections;
using System.Collections.Generic;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            SortedList sortedList = new SortedList();
            sortedList.Add(1,"锻炼");
            sortedList.Add(2,"吃东西");
            sortedList.Add(3,"玩游戏");
            sortedList.Add(4,"工作");
            sortedList.Add(5,"做家务");
            sortedList.Add(6,"带妹妹去玩");
            sortedList.Add(7,"做饭");
            Console.WriteLine("请选择1~7决定接下来你要做的事");
            int b = int.Parse(Console.ReadLine());
            bool d = sortedList.ContainsKey(b);
            if (d)
            {
                string work = sortedList[b].ToString();
                Console.WriteLine("接下来要做的事是{0}",work);
            }
            else
            {
                Console.WriteLine("麻烦认真看数字吖！");
            }
        }
    }
}
